import Style from "./index.module.less";
import { Image } from "antd";

export default ({ image, spuName, children }) => {
	return (
		<div
			style={{ display: "flex", justifyContent: "space-between", alignItems: "center", padding: "0 12px", marginBottom: "16px" }}
		>
			<div>
				<Image src={image} width={60} height={60} className={Style.spu_img} /> <span className={Style.spu_name}>{spuName}</span>
			</div>

			<div>{children}</div>
		</div>
	);
};
